package com.example.template.service.impl;

import com.example.template.mapper.UserMapper;
import com.example.template.model.User;
import com.example.template.service.UserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * @ Author     ：jujh
 * @ Date       ：Created in 16:04 2018/12/5
 * @ Description：
 */
@Service
public class UserServiceImpl implements UserService {

    @Resource
    private UserMapper userMapper;

    @Override
    public List<User> findAllUser() {
        return userMapper.findAllUser();
    }
}
